package com.cwm.test.factory.abstractfactory;


public class WenMingFactory extends AbstractFactory{

    @Override
    public Clothes produceClothes() {
        WenMingClothes clothes =  (WenMingClothes)newInstance(WenMingClothes.class);
        return clothes;
    }

    @Override
    public Food produceFood() {
        WenMingFood food =  (WenMingFood)newInstance(WenMingFood.class);
        return food;
    }
}
